

/* 放置登录页面的专属样式 */

html,body {
    height: 100%;
    background-image: url(../pic/dlbj.jpeg);
    background-size: cover;
    background-position: center center;
}

.login-container{
    width: 100%;
    height: calc(100% - 50px);

    /* 居中 */
    display: flex;
    align-items: center;
    justify-content: center;


}
/* 设置登录框、背景颜色 */
.login-dialog{
    width: 400px;
    height: 330px;
    background-color: rgb(35, 72, 120);
    border-radius: 30px;
}

.login-dialog h2{
    text-align: center;
    padding: 24px 0;
}

.login-dialog .row{
    height: 50px;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-dialog .row span{
    /* span是行内元素，直接设置width无效。需要设置块级元素 */
    display: block;
    width: 90px;

    font-weight: 700;
}


  


#username,#password {
    width: 200px;
    height: 40px;
    font-size: 20px;
    text-indent: 10px;

    border-radius: 10px;
    border: none;
    outline: none ;
}

#submit {
    width: 200px;
    height: 40px;

    background: rgb(69, 133, 230);

    border: none;
    font-size: 20px;
    border-radius: 10px;
}

#submit:active {
    background-color: #666;
}